/*addemup.c -- 集中常见的语句*/
#include "stdio.h"

int main(void){ /*计算前20个整数的和 ,主函数*/
    int count, sum; /*声明  变量*/
    
    count = 0; /*表达式语句*/
    sum = 0;    /*表达式语句*/
    
    while(count++ < 20)  /*迭代语句*/
        sum = sum + count;
    printf("sum = %d\n",sum); /*表达式语句*/

    return 0;   /*跳转语句*/
}